﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UtilZ.Dotnet.Ex.Model;
using UtilZ.Dotnet.WindowsDesktopEx.NativeMethod;

namespace UtilZ.Tool.HostQuery
{
    internal interface IOSQuery
    {
        /// <summary>
        /// 查询进程启动参数
        /// </summary>
        /// <param name="pid"></param>
        /// <returns></returns>
        string QueryProcessStartArgs(int pid);

        /// <summary>
        /// 获取崩溃进程ID列表
        /// </summary>
        /// <returns></returns>
        List<int> GetCrushProcessIdList();

        /// <summary>
        /// 检查指定窗口句柄的进程是否未响应
        /// </summary>
        /// <param name="mainWindowHandle"></param>
        /// <returns></returns>
        bool IsNoResponse(IntPtr mainWindowHandle);
    }
}
